package org.his.pojo.xinwen;

import java.io.Serializable;
import java.util.Objects;

public class NPublishType implements Serializable {
    private Integer typeid;
    private String typeName;

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        NPublishType that = (NPublishType) o;
        return Objects.equals(typeid, that.typeid) &&
                Objects.equals(typeName, that.typeName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(typeid, typeName);
    }
}
